Tripzzy\Core\BlockTemplateUtils A

Total Complexity 57
Dependencies 7
Dependents 1
Total lines 457
Lines of code 243
Logical lines of code 141
Comment lines 162
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
build_template_result_from_file()
A
46 10 35
build_template_result_from_post()
A
47 7 35
inject_theme_attribute_in_content()
S
53 6 22
flatten_blocks()
S
56 5 20
supports_block_templates()
S
66 6 8
get_theme_template_path()
S
51 4 29
create_new_block_template_object()
S
58 4 15
get_block_templates_from_db()
S
52 3 25
get_template_paths()
S
62 3 11
get_templates_directory()
S
64 2 9
get_block_template_title()
S
66 2 8
get_block_template_description()
S
68 2 7
get_plugin_block_template_types()
S
62 1 12
generate_template_slug_from_path()
S
75 1 4
theme_has_template()
S
78 1 3